@(customers: List[CustomerModel], form: Form[CustomerModel])

@import helper._

@main{

	<h1>@customers.size() Registered customers</h1>
	
	<table>
		<thead><tr>
			<th>Name</th>
			<th>Phone</th>
			<th>Email</th>
			<th>Password</th>
			<th>Birthdate</th>
			<th>Credit</th>
		</tr></thead>
		<tbody>
			@for(customer <- customers){
				<tr>
					<td>@customer.name</td>
					<td>@customer.phone</td>
					<td>@customer.email</td>
					<td>@customer.password</td>
					<td>@customer.birthdate</td>
					<td>@customer.credit</td>
				</tr>
			}
		</tbody>
	</table>
	
	<h1>New Customer</h1>

}